import typer

# from rich import print
from cli.command import RegisterCommandList

app = typer.Typer()

for name, command in RegisterCommandList.items():
    app.add_typer(command.app, name=name)


@app.command(name="bb")
def bb():
    print("hello world!")


@app.command(name="aa")
def aa():
    print("hello world!")


if __name__ == "__main__":
    app()
